package ooday02;
/** 医生类 */
public class Doctor extends Person{
    String title;//职称

    /** 构造方法 */
    Doctor(String name , int age ,String address , String title){
        super(name ,age ,address);
        this.title = title;
    }

    void cut (){
        System.out.println(name+ "在做手术.....");
    }
}

